package com.saturn.config.server.base.dto;

import java.io.Serializable;

public class TreeDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5643284002145263403L;
	
	public static final String CLS_FOLDER = "folder";
	
	public static final String CLS_FILE = "file";
	
	private String text;
	
	private boolean leaf = false;
	
	private String cls = CLS_FOLDER;
	
	private String id;
	
	private String treeCode;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	public String getCls() {
		return cls;
	}

	public void setCls(String cls) {
		this.cls = cls;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTreeCode() {
		return treeCode;
	}

	public void setTreeCode(String treeCode) {
		this.treeCode = treeCode;
	}
}
